//package com.kk.aop;
//
//
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.springframework.stereotype.Component;
//
//@Component
//@Aspect
//public class MyAop1 {
//    @Around("execution(* com.kk.Mapper.* (..))")
//    public Object around(ProceedingJoinPoint pjp){
//        Object result = null;
//        long l1 = System.currentTimeMillis();
//        try {
//            result = pjp.proceed();
//        } catch (Throwable e) {
//            throw new RuntimeException(e);
//        }
//        long l2 = System.currentTimeMillis();
//
//        String className = pjp.getSignature().getDeclaringTypeName();
//        String methodName = pjp.getSignature().getName();
//        Object[] args = pjp.getArgs();
//        System.out.println();
//        return result;
//    }
//}
